<?php

namespace Database\Column;

/**
 * Интерфейс колонки.
 *
 * @package Database
 */
interface IColumn {

    /**
     * @return string
     */
    public function getName ();

    /**
     * @return string
     */
    public function getType ();

    /**
     * @return integer
     */
    public function getLength ();

    /**
     * @return mixed
     */
    public function getDefault ();

    /**
     * @return boolean
     */
    public function isNotNull ();

    /**
     * @return boolean
     */
    public function isUnsigned ();

    /**
     * @return boolean
     */
    public function isAutoincrement ();

}